package com.example.docmanagement.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.UUID;

@Data
@Schema(description = "客户创建请求")
public class CustomerCreateRequest {

    /**
     * 客户名称
     */
    @Schema(description = "客户名称", example = "张三", maxLength = 255)
    @Size(max = 100, message = "客户名称长度不能超过 100 个字符")
    private String name;

    /**
     * 客户邮箱
     */
    @Schema(description = "客户邮箱", example = "zhangsan@example.com", maxLength = 255)
    @Size(max = 100, message = "客户邮箱长度不能超过 100 个字符")
    private String email;

    /**
     * 客户手机号
     */
    @Schema(description = "客户手机号", example = "13800000000", maxLength = 20)
    @Size(max = 20, message = "客户手机号长度不能超过 20 个字符")
    private String phone;

    /**
     * 客户状态
     */
    @Schema(description = "客户状态", example = "active", allowableValues = { "active", "inactive" })
    private String status;

    /**
     * 创建人ID
     */
    @Schema(description = "创建人ID", example = "386699c2-9362-4993-b8d8-0b537e5d67dc")
    private UUID createdByUserId;


}
